package com.zhongen.oa.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhongen.common.core.util.R;
import com.zhongen.oa.entity.ProjectBasicInfoEntity;
import com.zhongen.oa.entity.ProjectBasicInfoNum;
import com.zhongen.oa.entity.vo.ProjectBasicInfoNumVo;
import com.zhongen.oa.entity.vo.ProjectBasicInfoVo;
import jakarta.servlet.http.HttpServletResponse;

import java.util.List;

public interface ProjectBasicInfoService extends IService<ProjectBasicInfoEntity> {

	public R addProject(ProjectBasicInfoEntity projectBasicInfo);

	public boolean updateById(ProjectBasicInfoEntity projectBasicInfo);

	int removeBatchByIds(List<Long> ids);

	IPage<ProjectBasicInfoVo> page(Page page, ProjectBasicInfoEntity projectBasicInfo);

	List<ProjectBasicInfoNumVo> getProjectBasicInfoNumApp(ProjectBasicInfoEntity projectBasicInfo);

	ProjectBasicInfoVo getProjectInfoById(Long id);

	int updateProjectStatusById(String id, String status);

	void projectStatusUpdateTask();

	void queryProjectInfoAll(HttpServletResponse response, ProjectBasicInfoEntity projectBasicInfo);

	ProjectBasicInfoNum getNumByIdApp(Long id);

}
